#include "welcomeview.h"
#include "ui_welcomeview.h"
#include <QDebug>

WelcomeViem::WelcomeViem(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::WelcomeViem)
{
    qDebug()<<"create WelcomeView";
    ui->setupUi(this);
}

WelcomeViem::~WelcomeViem()
{
    qDebug()<<"destory WelcomeView";
    delete ui;
}

void WelcomeViem::on_btnDepart_clicked()
{
    emit goDepartmentView();
}

void WelcomeViem::on_btnPatient_clicked()
{
    emit goPatientView();
}


void WelcomeViem::on_btnDoctor_clicked()
{
    emit goDoctorView();
}

